package com.xs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/login")
public class LoginController {

    @RequestMapping("/tologin")
    public String tologin() {
        System.out.println("登入");
        return "index";
    }
    @RequestMapping("/data")
    public String data() {
        return "index";
    }

}
